Imagify\Media\AbstractMedia S

Total Complexity 42
Dependencies 3
Dependents 0
Total lines 538
Lines of code 137
Logical lines of code 78
Comment lines 320
Methods 20
Properties 8

Methods 20

Method Rating Maintainability Complexity Lines of code
get_cdn()
S
58 5 17
get_file_type()
S
57 4 18
get_original_path()
S
65 4 10
get_fullsize_path()
S
65 4 10
get_backup_path()
S
65 4 10
update_dimensions()
S
59 3 14
get_context_instance()
S
61 3 13
is_image()
S
68 2 7
is_pdf()
S
69 2 7
__construct()
S
75 1 4
get_mime_type()
S
81 1 3
update_media_data_dimensions()
S
100 1 0
get_allowed_mime_types()
S
80 1 3
is_supported()
S
80 1 3
get_extension()
S
81 1 3
get_id()
S
82 1 3
has_backup()
S
80 1 3
get_context()
S
81 1 3
is_valid()
S
80 1 3
filter_media_files()
S
78 1 3